<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0,viewport-fit=cover"><title>利用GitHub和PicGo搭建图床 | 肥猫趣记</title><meta name="author" content="FeiMao"><meta name="copyright" content="FeiMao"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="最近又发现了一个新的图床平台管理工具PicList，UI界面更加好看，功能方面增加了云端删除、水印添加、图片压缩&#x2F;缩放&#x2F;旋转&#x2F;格式转换等，还支持从PicGo一键迁移，具体配置过程和PicGo类似。 但是肥猫太懒了，这里暂时就不更新了，有需要的小伙伴自行下载配置吧。这里留一个PicList的Windows下载链接和相关配置介绍 还有一件事，这个利用GitHub存储图片">
<meta property="og:type" content="article">
<meta property="og:title" content="利用GitHub和PicGo搭建图床">
<meta property="og:url" content="https://feimao-g.github.io/2024/11/16/%E5%88%A9%E7%94%A8GitHub%E5%92%8CPicGo%E6%90%AD%E5%BB%BA%E5%9B%BE%E5%BA%8A/index.html">
<meta property="og:site_name" content="肥猫趣记">
<meta property="og:description" content="最近又发现了一个新的图床平台管理工具PicList，UI界面更加好看，功能方面增加了云端删除、水印添加、图片压缩&#x2F;缩放&#x2F;旋转&#x2F;格式转换等，还支持从PicGo一键迁移，具体配置过程和PicGo类似。 但是肥猫太懒了，这里暂时就不更新了，有需要的小伙伴自行下载配置吧。这里留一个PicList的Windows下载链接和相关配置介绍 还有一件事，这个利用GitHub存储图片">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://s2.loli.net/2024/12/02/YXbuHqtjSD1WrzC.png">
<meta property="article:published_time" content="2024-11-16T03:08:50.390Z">
<meta property="article:modified_time" content="2024-12-22T13:09:41.796Z">
<meta property="article:author" content="FeiMao">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://s2.loli.net/2024/12/02/YXbuHqtjSD1WrzC.png"><link rel="shortcut icon" href="https://s2.loli.net/2024/11/19/PLI2iAMYZXw7J69.png"><link rel="canonical" href="https://feimao-g.github.io/2024/11/16/%E5%88%A9%E7%94%A8GitHub%E5%92%8CPicGo%E6%90%AD%E5%BB%BA%E5%9B%BE%E5%BA%8A/index.html"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.css" media="print" onload="this.media='all'"><script>
    (() => {
      
    const saveToLocal = {
      set: (key, value, ttl) => {
        if (!ttl) return
        const expiry = Date.now() + ttl * 86400000
        localStorage.setItem(key, JSON.stringify({ value, expiry }))
      },
      get: key => {
        const itemStr = localStorage.getItem(key)
        if (!itemStr) return undefined
        const { value, expiry } = JSON.parse(itemStr)
        if (Date.now() > expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return value
      }
    }

    window.btf = {
      saveToLocal,
      getScript: (url, attr = {}) => new Promise((resolve, reject) => {
        const script = document.createElement('script')
        script.src = url
        script.async = true
        Object.entries(attr).forEach(([key, val]) => script.setAttribute(key, val))
        script.onload = script.onreadystatechange = () => {
          if (!script.readyState || /loaded|complete/.test(script.readyState)) resolve()
        }
        script.onerror = reject
        document.head.appendChild(script)
      }),
      getCSS: (url, id) => new Promise((resolve, reject) => {
        const link = document.createElement('link')
        link.rel = 'stylesheet'
        link.href = url
        if (id) link.id = id
        link.onload = link.onreadystatechange = () => {
          if (!link.readyState || /loaded|complete/.test(link.readyState)) resolve()
        }
        link.onerror = reject
        document.head.appendChild(link)
      }),
      addGlobalFn: (key, fn, name = false, parent = window) => {
        if (!false && key.startsWith('pjax')) return
        const globalFn = parent.globalFn || {}
        globalFn[key] = globalFn[key] || {}
        globalFn[key][name || Object.keys(globalFn[key]).length] = fn
        parent.globalFn = globalFn
      }
    }
  
      
      const activateDarkMode = () => {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      const activateLightMode = () => {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
        }
      }

      btf.activateDarkMode = activateDarkMode
      btf.activateLightMode = activateLightMode

      const theme = saveToLocal.get('theme')
    
          theme === 'dark' ? activateDarkMode() : theme === 'light' ? activateLightMode() : null
        
      
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        document.documentElement.classList.toggle('hide-aside', asideStatus === 'hide')
      }
    
      
    const detectApple = () => {
      if (/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)) {
        document.documentElement.classList.add('apple')
      }
    }
    detectApple()
  
    })()
  </script><script>const GLOBAL_CONFIG = {
  root: '/',
  algolia: undefined,
  localSearch: undefined,
  translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"简"},
  highlight: {"plugin":"highlight.js","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false,"highlightFullpage":true,"highlightMacStyle":false},
  copy: {
    success: '复制成功',
    error: '复制失败',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '',
  dateSuffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: undefined,
  lightbox: 'null',
  Snackbar: {"chs_to_cht":"已切换为繁体中文","cht_to_chs":"已切换为简体中文","day_to_night":"已切换为深色模式","night_to_day":"已切换为浅色模式","bgLight":"#49b1f5","bgDark":"#1f1f1f","position":"bottom-center"},
  infinitegrid: {
    js: 'https://cdn.jsdelivr.net/npm/@egjs/infinitegrid/dist/infinitegrid.min.js',
    buttonText: '加载更多'
  },
  isPhotoFigcaption: false,
  islazyload: false,
  isAnchor: false,
  percent: {
    toc: true,
    rightside: true,
  },
  autoDarkmode: false
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
  title: '利用GitHub和PicGo搭建图床',
  isPost: true,
  isHome: false,
  isHighlightShrink: false,
  isToc: false,
  isShuoshuo: false
}</script><meta name="generator" content="Hexo 7.3.0"></head><body><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img text-center"><img src="https://s2.loli.net/2024/11/19/V3ZSEIBgTRUubQy.png" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="site-data text-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">6</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">0</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">1</div></a></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div></div></div></div><div class="post" id="body-wrap"><header class="post-bg fixed" id="page-header" style="background-image: url(https://s2.loli.net/2024/12/02/YXbuHqtjSD1WrzC.png);"><nav id="nav"><span id="blog-info"><a class="nav-site-title" href="/"><span class="site-name">肥猫趣记</span></a><a class="nav-page-title" href="/"><span class="site-name">利用GitHub和PicGo搭建图床</span></a></span><div id="menus"><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div></div><div id="toggle-menu"><span class="site-page"><i class="fas fa-bars fa-fw"></i></span></div></div></nav><div id="post-info"><h1 class="post-title">利用GitHub和PicGo搭建图床</h1><div id="post-meta"><div class="meta-firstline"><span class="post-meta-date"><i class="far fa-calendar-alt fa-fw post-meta-icon"></i><span class="post-meta-label">发表于</span><time class="post-meta-date-created" datetime="2024-11-16T03:08:50.390Z" title="发表于 2024-11-16 11:08:50">2024-11-16</time><span class="post-meta-separator">|</span><i class="fas fa-history fa-fw post-meta-icon"></i><span class="post-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2024-12-22T13:09:41.796Z" title="更新于 2024-12-22 21:09:41">2024-12-22</time></span><span class="post-meta-categories"><span class="post-meta-separator">|</span><i class="fas fa-inbox fa-fw post-meta-icon"></i><a class="post-meta-categories" href="/categories/Hexo/">Hexo</a></span></div><div class="meta-secondline"><span class="post-meta-separator">|</span><span class="post-meta-wordcount"><i class="far fa-file-word fa-fw post-meta-icon"></i><span class="post-meta-label">总字数:</span><span class="word-count">600</span><span class="post-meta-separator">|</span><i class="far fa-clock fa-fw post-meta-icon"></i><span class="post-meta-label">阅读时长:</span><span>1分钟</span></span><span class="post-meta-separator">|</span><span id="" data-flag-title=""><i class="far fa-eye fa-fw post-meta-icon"></i><span class="post-meta-label">浏览量:</span><span id="twikoo_visitors"><i class="fa-solid fa-spinner fa-spin"></i></span></span></div></div></div></header><main class="layout" id="content-inner"><div id="post"><article class="container post-content" id="article-container"><blockquote>
<p>最近又发现了一个新的图床平台管理工具PicList，UI界面更加好看，功能方面增加了云端删除、水印添加、图片压缩&#x2F;缩放&#x2F;旋转&#x2F;格式转换等，还支持从PicGo一键迁移，具体配置过程和PicGo类似。</p>
<p>但是肥猫太懒了，这里暂时就不更新了，有需要的小伙伴自行下载配置吧。这里留一个PicList的<a target="_blank" rel="noopener" href="https://release.piclist.cn/latest/PicList-Setup-2.9.5.exe">Windows下载链接</a>和<a target="_blank" rel="noopener" href="https://piclist.cn/manage#smms">相关配置介绍</a></p>
<p>还有一件事，这个利用GitHub存储图片的方式加载真的太慢了，不加速的话太影响体验了。我目前使用（白嫖）的SMMS来存储的图片。配置过程也非常简单，等我有时间在写篇新博客……。</p>
</blockquote>
<p>打开<a target="_blank" rel="noopener" href="https://github.com/">GitHub</a>，右上角➕号&gt;<strong>new repository</strong>，新建一个仓库</p>
<p><img src="https://s2.loli.net/2024/11/19/Iun6XgrmvdCJF1a.png"></p>
<p>自定义仓库名<strong>Repository name</strong>，填写Description （可选），选择<strong>public</strong>，勾选<strong>Add a README file</strong>，选择<strong>Create repository</strong></p>
<p><img src="https://s2.loli.net/2024/11/19/UT54kZcaMC1thRz.png"></p>
<p>点击头像，选择<strong>Setting</strong></p>
<p><img src="https://s2.loli.net/2024/11/19/PWMF8QsVIKmLNCx.png"></p>
<p>在刚打开的设置页面中，拉到最下方，选择<strong>Developer settings</strong></p>
<p><img src="https://s2.loli.net/2024/11/19/xJrvuWdAztKjlBP.png"></p>
<p>左侧目录项选择<strong>Personal access tokens</strong>&gt;<strong>Tokens(classic)<strong>，右侧窗口选择</strong>Generate new token</strong>&gt;<strong>Generate new token(classic)</strong></p>
<p><img src="https://s2.loli.net/2024/11/19/AETJU6uGpg7Kcoi.png"></p>
<p><strong>Note</strong>可以自定义描述，Expiration设置为<strong>No expiration</strong>（永不过期），Select scopes勾选<strong>repo</strong></p>
<p><img src="https://s2.loli.net/2024/11/19/hfjuXJDyxraGs4C.png"></p>
<p>最下方点击Generate token（生成令牌）</p>
<p><img src="https://s2.loli.net/2024/11/19/ORD7wtVqnC8AzvZ.png"></p>
<p>复制令牌，保存到我们可以找到的地方</p>
<p><img src="https://s2.loli.net/2024/11/19/Y24tVOwP6z8GvXx.png"></p>
<p>下载软件<a href="(https://picgo.github.io/PicGo-Doc/zh/guide/#picgo-is-here)">PicGo</a></p>
<p><img src="https://s2.loli.net/2024/11/19/azi2FfX3hlDbsdp.png"></p>
<p>运行PicGo，选择PicGo设置，勾选需要显示的一个或多个图床（这里以GitHub作为演示）</p>
<p><img src="https://s2.loli.net/2024/11/19/YAVdmzheG6svab8.png"></p>
<p>选择<strong>图床设置</strong>&gt;<strong>GitHub</strong>，<strong>新建</strong>或者<strong>编辑</strong>默认图床（这里以编辑默认为演示）</p>
<p><img src="https://s2.loli.net/2024/11/19/Z6PhQFmbvK29gqW.png"></p>
<p>设定仓库名：<strong>用户名&#x2F;仓库名</strong></p>
<p>设定分支名：<strong>main</strong></p>
<p>设定Token：<strong>粘贴刚刚保存的令牌</strong></p>
<p>设定存储路径（可选）：可以在仓库中自定义文件夹，如果文件夹不存在的话，会自动创建。例：填写test&#x2F;，每次上传图片，都会将图片上传到仓库的test文件夹中</p>
<p>设定自定义域名：具体看后续配置，由GitHub生成</p>
<p><img src="https://s2.loli.net/2024/11/19/1JyLpYcTzuGHN7s.png"></p>
<p>自定义域名生成：打开<strong>图床的仓库</strong>&gt;<strong>settings</strong>&gt;<strong>Pages</strong>&gt;<strong>Branch</strong>，选择<strong>main</strong>，点击<strong>save</strong>，过两分钟刷新页面，复制<strong>GitHub生成的域名</strong>到PicGo的GitHub设置–<strong>自定义域名</strong>（注意不要加最后的 &#x2F; ）</p>
<p><img src="https://s2.loli.net/2024/11/19/NtaXgT8LM3cRn5G.png"></p>
<p><img src="https://s2.loli.net/2024/11/19/Cgp98rAMnGYuJmO.png"></p>
<p>切换PicGo的<strong>上传区</strong>，切换成<strong>GitHub-Default</strong>，然后拖动图片到上传区</p>
<p><img src="https://s2.loli.net/2024/11/19/Chlqu52Me7Vzxo9.png"></p>
<p>资料来源：<a target="_blank" rel="noopener" href="https://blog.cmliussss.com/">杨幂的脚</a></p>
</article><div class="post-copyright"><div class="post-copyright__author"><span class="post-copyright-meta"><i class="fas fa-circle-user fa-fw"></i>文章作者: </span><span class="post-copyright-info"><a target="_blank" rel="noopener" href="https://qm.qq.com/q/yc5ls14t7G">肥猫</a></span></div><div class="post-copyright__type"><span class="post-copyright-meta"><i class="fas fa-square-arrow-up-right fa-fw"></i>文章链接: </span><span class="post-copyright-info"><a href="https://feimao-g.github.io/2024/11/16/%E5%88%A9%E7%94%A8GitHub%E5%92%8CPicGo%E6%90%AD%E5%BB%BA%E5%9B%BE%E5%BA%8A/">https://feimao-g.github.io/2024/11/16/%E5%88%A9%E7%94%A8GitHub%E5%92%8CPicGo%E6%90%AD%E5%BB%BA%E5%9B%BE%E5%BA%8A/</a></span></div><div class="post-copyright__notice"><span class="post-copyright-meta"><i class="fas fa-circle-exclamation fa-fw"></i>版权声明: </span><span class="post-copyright-info">本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a> 许可协议。转载请注明来源 <a href="https://feimao-g.github.io" target="_blank">肥猫趣记</a>！</span></div></div><div class="tag_share"><div class="post-share"><div class="social-share" data-image="https://s2.loli.net/2024/12/02/YXbuHqtjSD1WrzC.png" data-sites="facebook,twitter,wechat,weibo,qq"></div><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/butterfly-extsrc/sharejs/dist/css/share.min.css" media="print" onload="this.media='all'"><script src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/sharejs/dist/js/social-share.min.js" defer></script></div></div><nav class="pagination-post" id="pagination"><a class="pagination-related" href="/2024/11/17/%E5%9F%BA%E4%BA%8Ecloudflare%20pages%E6%90%AD%E5%BB%BA%E5%85%8D%E8%B4%B9VLESS%E8%8A%82%E7%82%B9/" title="基于cloudflare pages搭建免费VLESS节点"><img class="cover" src="https://s2.loli.net/2024/12/02/id3wOQFBzyUcDgN.png" onerror="onerror=null;src='/img/404.jpg'" alt="cover of previous post"><div class="info"><div class="info-1"><div class="info-item-1">上一篇</div><div class="info-item-2">基于cloudflare pages搭建免费VLESS节点</div></div><div class="info-2"><div class="info-item-1">...</div></div></div></a><a class="pagination-related" href="/2024/11/15/Welcome/" title="跟着我，开启欢笑满溢的生活博客之旅"><img class="cover" src="https://s2.loli.net/2024/12/02/pnYkP2Ob1l8VuNR.png" onerror="onerror=null;src='/img/404.jpg'" alt="cover of next post"><div class="info text-right"><div class="info-1"><div class="info-item-1">下一篇</div><div class="info-item-2">跟着我，开启欢笑满溢的生活博客之旅</div></div><div class="info-2"><div class="info-item-1">嘿！欢迎来到肥猫的奇妙博客世界，我是肥猫，这里是我的地盘。就像猫咪喜欢玩线团一样，我喜欢把好玩的事儿都缠在这儿。这里有我抓来的趣味段子，有我挠到的新奇想法，还有我晒着太阳时做的美梦。 你可以在这里找到那些能让你笑得满地打滚的趣事，就像发现了藏在沙发底下的小毛球一样惊喜。也许是我追着自己尾巴转圈时突发的灵感，或许是我和隔壁小花猫吵架后得出的人生歪理。 要是你今天过得像被雨淋湿的小狗一样糟糕，那可就来对地方啦！我这儿有能让你瞬间抖落水珠、重新快乐奔跑的神奇魔法。这里的每一个字都是我肥猫精心调制的快乐药剂，喝下它，你就会被满满的活力和欢笑填满。 别害羞，也别犹豫，留下你的小脚印，和我一起在这个奇妙的博客世界里撒欢儿。我们可以一起分享那些藏在心底的小秘密，或者一起为某个搞笑的画面笑出猪叫。这里是肥猫的乐园，也是我们大家的快乐老家，喵~ </div></div></div></a></nav><hr class="custom-hr"/><div id="post-comment"><div class="comment-head"><div class="comment-headline"><i class="fas fa-comments fa-fw"></i><span> 评论</span></div></div><div class="comment-wrap"><div><div id="twikoo-wrap"></div></div></div></div></div><div class="aside-content" id="aside-content"><div class="card-widget card-info text-center"><div class="avatar-img"><img src="https://s2.loli.net/2024/11/19/V3ZSEIBgTRUubQy.png" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/></div><div class="author-info-name">FeiMao</div><div class="author-info-description">一只很懒的肥猫</div><div class="site-data"><a href="/archives/"><div class="headline">文章</div><div class="length-num">6</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">0</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">1</div></a></div><a id="card-info-btn" target="_blank" rel="noopener" href="https://qm.qq.com/q/yc5ls14t7G"><i class="fab fa-qq"></i><span>Follow Me</span></a></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn fa-shake"></i><span>公告</span></div><div class="announcement_content">嘿！欢迎来到肥猫的奇妙博客世界，我是肥猫，这里是我的地盘。</div></div><div class="sticky_layout"><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/2024/11/16/%E5%88%A9%E7%94%A8GitHub%E5%92%8CPicGo%E6%90%AD%E5%BB%BA%E5%9B%BE%E5%BA%8A/" title="利用GitHub和PicGo搭建图床"><img src="https://s2.loli.net/2024/12/02/YXbuHqtjSD1WrzC.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="利用GitHub和PicGo搭建图床"/></a><div class="content"><a class="title" href="/2024/11/16/%E5%88%A9%E7%94%A8GitHub%E5%92%8CPicGo%E6%90%AD%E5%BB%BA%E5%9B%BE%E5%BA%8A/" title="利用GitHub和PicGo搭建图床">利用GitHub和PicGo搭建图床</a><time datetime="2024-12-22T13:09:41.796Z" title="更新于 2024-12-22 21:09:41">2024-12-22</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2024/11/17/%E5%9F%BA%E4%BA%8Ecloudflare%20pages%E6%90%AD%E5%BB%BA%E5%85%8D%E8%B4%B9VLESS%E8%8A%82%E7%82%B9/" title="基于cloudflare pages搭建免费VLESS节点"><img src="https://s2.loli.net/2024/12/02/id3wOQFBzyUcDgN.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="基于cloudflare pages搭建免费VLESS节点"/></a><div class="content"><a class="title" href="/2024/11/17/%E5%9F%BA%E4%BA%8Ecloudflare%20pages%E6%90%AD%E5%BB%BA%E5%85%8D%E8%B4%B9VLESS%E8%8A%82%E7%82%B9/" title="基于cloudflare pages搭建免费VLESS节点">基于cloudflare pages搭建免费VLESS节点</a><time datetime="2024-12-22T13:09:34.351Z" title="更新于 2024-12-22 21:09:34">2024-12-22</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2024/11/22/Windows%E5%8D%87%E7%BA%A7%E5%90%8E%E6%82%94%E6%9C%9F/" title="Windows升级后悔期"><img src="https://s2.loli.net/2024/12/02/o7dHSY9X5cuZa6k.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Windows升级后悔期"/></a><div class="content"><a class="title" href="/2024/11/22/Windows%E5%8D%87%E7%BA%A7%E5%90%8E%E6%82%94%E6%9C%9F/" title="Windows升级后悔期">Windows升级后悔期</a><time datetime="2024-12-22T13:09:27.330Z" title="更新于 2024-12-22 21:09:27">2024-12-22</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2024/12/10/OCS%E7%BD%91%E8%AF%BE%E5%8A%A9%E6%89%8B/" title="OCS网课助手"><img src="https://s2.loli.net/2024/12/10/MCvBOe9ka3tWIXm.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="OCS网课助手"/></a><div class="content"><a class="title" href="/2024/12/10/OCS%E7%BD%91%E8%AF%BE%E5%8A%A9%E6%89%8B/" title="OCS网课助手">OCS网课助手</a><time datetime="2024-12-22T13:09:20.468Z" title="更新于 2024-12-22 21:09:20">2024-12-22</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2024/11/13/hello-world/" title="Hello World"><img src="https://jsd.012700.xyz/gh/jerryc127/CDN@latest/cover/default_bg.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Hello World"/></a><div class="content"><a class="title" href="/2024/11/13/hello-world/" title="Hello World">Hello World</a><time datetime="2024-12-22T13:09:12.112Z" title="更新于 2024-12-22 21:09:12">2024-12-22</time></div></div></div></div></div></div></main><footer id="footer" style="background-image: url(https://s2.loli.net/2024/12/02/YXbuHqtjSD1WrzC.png);"><div id="footer-wrap"><div class="copyright">&copy;2024 By FeiMao</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="translateLink" type="button" title="简繁转换">繁</button><button id="darkmode" type="button" title="日间和夜间模式切换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside-config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><a id="to_comment" href="#post-comment" title="前往评论"><i class="fas fa-comments"></i></a><button id="go-up" type="button" title="回到顶部"><span class="scroll-percent"></span><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="/js/tw_cn.js"></script><script src="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.js"></script><div class="js-pjax"><script>(() => {
  const isShuoshuo = GLOBAL_CONFIG_SITE.isShuoshuo
  const option = null

  const getCount = () => {
    const countELement = document.getElementById('twikoo-count')
    if(!countELement) return
    twikoo.getCommentsCount({
      envId: 'https://feimao02.netlify.app/.netlify/functions/twikoo',
      region: '',
      urls: [window.location.pathname],
      includeReply: false
    }).then(res => {
      countELement.textContent = res[0].count
    }).catch(err => {
      console.error(err)
    })
  }

  const init = (el = document, path = location.pathname) => {
    twikoo.init({
      el: el.querySelector('#twikoo-wrap'),
      envId: 'https://feimao02.netlify.app/.netlify/functions/twikoo',
      region: '',
      onCommentLoaded: () => {
        btf.loadLightbox(document.querySelectorAll('#twikoo .tk-content img:not(.tk-owo-emotion)'))
      },
      ...option,
      path: isShuoshuo ? path : (option && option.path) || path
    })

    

    isShuoshuo && (window.shuoshuoComment.destroyTwikoo = () => {
      if (el.children.length) {
        el.innerHTML = ''
        el.classList.add('no-comment')
      }
    })
  }

  const loadTwikoo = (el, path) => {
    if (typeof twikoo === 'object') setTimeout(() => init(el, path), 0)
    else btf.getScript('https://cdn.jsdelivr.net/npm/twikoo/dist/twikoo.all.min.js').then(() => init(el, path))
  }

  if (isShuoshuo) {
    'Twikoo' === 'Twikoo'
      ? window.shuoshuoComment = { loadComment: loadTwikoo }
      : window.loadOtherComment = loadTwikoo
    return
  }

  if ('Twikoo' === 'Twikoo' || !false) {
    if (false) btf.loadComment(document.getElementById('twikoo-wrap'), loadTwikoo)
    else loadTwikoo()
  } else {
    window.loadOtherComment = loadTwikoo
  }
})()</script></div><script defer="defer" id="fluttering_ribbon" mobile="false" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/dist/canvas-fluttering-ribbon.min.js"></script><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div></body></html>